class DataApiController < ActionController::Base




  # put
  def get_cities
    render json: Base::City.options(params[:id])
  end

  def functions
    @functions = YAML.load(IO.read("#{Rails.root}/config/functions.yml"))
    render template: '/functions'
  end
end
